<?php $website_url = Configure::read('Website.url'); ?>

<div class="yourAccMain">
  <h6> Your Account </h6>
  <div class="yourAccMain_L">
    <div class="yourAccMain_L_in">
      <div class="yourAccMain_L_in_L">
        <h2>Order</h2>
        <p>See &amp; Modify Recent Orders</p>
			<?php echo $html->image('box.png',array('width'=>'128', 'height'=>'128')); ?>
         </div>
      <div class="yourAccMain_L_in_R">
			<?php echo $form->create('User', array('action'=>"orders", 'id'=>'search')) ?>
              <div class="def_div common_border ">
            <div class="yourAccMain_L_in_R_in">
            <p class="text_left_part"> View, Modify, Track or Cancel an Order
              <button role="button" type="button" href="javascript:void();" class="add2cart f_right">Search Orders</button>
            </p>
            </div>
            <div class="yourAccMain_L_in_R_in">
            <label>Search Order </label>
            <input type="text" placeholder="OrderId" name="data[Order][TrackingId]">
            <input type="submit" class="add2wish" value="Go" name="">
            </div>
            </div>
            <?php echo $form->end(); ?>
        <div class="yourAccMain_L_in_R_in"> 
          <ul>
            <li><b>Order History</b></li>
            <li>
            		<?php echo $html->link('View Unpaid Orders', array('controller'=>'users', 'action'=>'orders', 'unpaid')); ?>
           </li>
            <li>
            <?php echo $html->link('View Your Paid Orders', array('controller'=>'users', 'action'=>'orders', 'paid')); ?>
           </li>
          </ul>
        </div>
        <div class="yourAccMain_L_in_R_in">
          <ul>
          	<li><b>Emails</b></li>
            <li><?php echo $html->link('View Your E-mails with Sellers', array('controller'=>'users', 'action'=>'customer_Mails')); ?>
           </li>
          </ul>
        </div>
      </div>
    </div>
    <?php
			if(isset($paypal_registred) and ($paypal_registred))
				{
					$class = "";
				}
				else
				{
					$class = "ver_not_bg";
				}
	?>
    <div class="yourAccMain_L_in <?php echo $class; ?>">
      <div class="yourAccMain_L_in_L">
        <h2>Payment</h2>
       <?php echo $html->image('paypal.png',array('width'=>'128', 'height'=>'128')); ?>
      </div>
      <div class="yourAccMain_L_in_R">
        <div class="yourAccMain_L_in_R_in" style="width:100%;">
          <ul>
            <li><b>Payments</b></li>
            
<?php /*?>            <?php 
			if(isset($paypal_registred) and ($paypal_registred))
				{
					echo "<li>";
					echo $html->link('Edit Payment Settings', 
					array('controller'=>'Paypals','action'=>'PaymentSettings', $this->Session->read('Auth.User.slug') ));
					echo "</li>";
					echo "<li>";
					echo $html->link('View Paylal Info', 
					array('controller'=>'Paypals','action'=>'PaymentInfo', $this->Session->read('Auth.User.slug') ));
					echo "</li>";
					?>
                       <!-- <a href="/MarketPlace/users/account_setting"><strong>Get Verified By Paypal</strong></a> -->
				<?php
				}
				else
				{
					echo "<li>";
					echo $html->link('Get Verified By Paypal', 
					array('controller'=>'Paypals','action'=>'check_paypal_user'), array('target'=>'_blank',));
					echo "</li>";
				}
			?>  
<?php */?>  
				<li><a href="javascript:void(0);">Authorize.net Safe Payments with WonderE Inc.</a></li>
         </li>
            
            </ul>
            
            
        </div>
        
      </div>
    </div>
    <div class="yourAccMain_L_in">
      <div class="yourAccMain_L_in_L">
        <h2>WishList</h2><p>WishLists for Future Refrences</p>
      </div>
      <div class="yourAccMain_L_in_R">
        <div class="yourAccMain_L_in_R_in">
          <ul>
            <li><b>WishList Settings</b>  </li>
            
            <?php 
					echo "<li>";
					echo $html->link('My Wishlist Panel', 
					array('controller'=>'products','action'=>'MyWishlist'));
					echo "</li>";
					echo "<li>";
					echo $html->link('Create New Wishlist', 
					array('controller'=>'products','action'=>'add_to_wishlist', 'func'=>'create' ));
					echo "</li>";
					?>
                       <!-- <a href="/MarketPlace/users/account_setting"><strong>Get Verified By Paypal</strong></a> -->
           </li>
            
            </ul>
            
            
        </div>
        
      </div>
    </div>
    
    <div class="yourAccMain_L_in">
      <div class="yourAccMain_L_in_L">
        <h2>Settings</h2>
        <p>Password, Prime &amp; E-mail</p>
      </div>
      <div class="yourAccMain_L_in_R">
        <div class="yourAccMain_L_in_R_in">
          <ul>
            <li><b>Account Settings</b></li>
            <li>
            <?php echo $html->link('Change Account Settings', array('controller'=>'users', 'action'=>'account_setting'));?>
            </li>
            <li>
              <?php echo $html->link('Change Your Password', array('controller'=>'users', 'action'=>'change_password'));?>
          </li>
            </ul>
        </div>
        <div class="yourAccMain_L_in_R_in">
          <ul>
            <li><b> Address Book</b></li>
            <li> <?php echo $html->link('Manage Address Book', array('controller'=>'users', 'action'=>'manage_address_book'));?>
          </li>
            <li>   <?php echo $html->link('Add New Address', array('controller'=>'users', 'action'=>'add_address'));?>
             </li>
          </ul>
        </div>
      </div>
    </div>
    
    
  </div>
  <div class="yourAccMain_R">
   <?php echo $this->element('dashboard_right');?>
   
   <div class="paypal_verif">
   <?php echo $html->image('paypal_ver.png',array('width'=>'128', 'height'=>'128')); ?>
   
   </div>
   
  </div>
</div>
